package com.yz.food.cms.dao;

import com.yz.food.cms.pojo.Recipes;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RecipesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Recipes record);

    int insertSelective(Recipes record);

    Recipes selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Recipes record);

    int updateByPrimaryKey(Recipes record);

    List<Recipes> getAll();
}